Splunk MINT App (Legacy)

Splunk MINT App User Guide

Splunk MINT is no longer available for purchase as of January 29, 2021. Customers who have already been paying to ingest and process MINT data in Splunk Enterprise will continue to receive support until December 31, 2021, which is End of Life for all MINT products: App, Web Service (Management Console), SDK and Add-On.

Use the Splunk MINT App

Each project in the Splunk MINT App aggregates data from a selection of mobile app projects that you created in Splunk MINT Management Console (each mobile app project corresponds to an API key). By default, an All Data project is created that contains all of your mobile app projects.

You can create new projects and specify exactly which mobile app projects to include. For example, you could create a project that aggregates data from only your Android apps, or a project that contains only those apps that have been released.

Select a project on the Splunk MINT App home page to view aggregated data and dashboards for the mobile apps in the project.

MINTAppHome.png

Create a new project

  1. On the Splunk Web home page, click Splunk MINT.
  2. All of your Splunk MINT projects are listed.

  3. Click Add New.
  4. Enter a project name, then select individual apps to include. Each app that is listed corresponds to a different package name.
  5. MINTAppCreateProject.png

      Note  When apps use the same package name (such as apps in different phases of development), the data for those apps appears combined in the MINT App.
      To view data for these apps separately, set a different application environment for each app (such as "testing" or "release"). Then, use the Environment filter in the MINT App to view data for a specific environment.
      For more about setting the application environment, see Configuration options (Android) and Configuration options (iOS).
  6. Click Create Project.

Your new project appears on the Splunk MINT home page. Click the project name to open it and view the dashboards.

Dashboards

The dashboards in the Splunk MINT App contain many different categories of charts and tables displaying aggregate data for the apps you selected for your project:

MintAppAnalyticsUsage.png

 

The Analytics > Usage dashboard displays data from the user perspective, such as the number of unique users, users affected crashes, sessions (number and length), and crash rate.
MintAppAnalyticsTechnical.png

 

The Analytics > Technical dashboard displays summary information about how your apps are being used, including the app versions, OS versions, mobile devices, locales, and carriers.
MintAppAnalyticsLocation.png

 

The Analytics > Location dashboard shows user session information, mapped by user location.
MintAppNetworkServices.png

 

The Network > Services dashboard shows a summary of network latency, request volume, and error rate. Drill down for more information about a specific domain.
MintAppNetworkLocation.png

 

The Network > Location dashboard shows network latency information, mapped by user location.
MintAppEvents.png

 

The Events dashboard lists the events that have occurred in your mobile apps, along with statistics for each event such as a count of occurrences, the trend of occurrences, and the number of uses that are affected by each event.
MintAppViews.png

 

The Views > Views List dashboard shows the different screens, or views, in your app. A summary table shows statistics for each view, such as the rendering time, the number of users for that view, and so forth.
MintAppViewsLocation.png

 

The Views > Location dashboard shows load time, mapped by user location.
MintAppErrors.png

 

The Errors > Errors List dashboard shows information about crashes and handled exceptions that have occurred. A summary table shows the platform, number of affected uses, and number and trend of occurences. Click an error to drill down for more information, such as stacktraces, affected users, and aggregated metrics.
MintAppErrorsLocation.png

 

The Errors > Location dashboard shows crash rate, mapped by user location.
MintAppTransactions.png

 

The Transactions dashboard summarizes the rate of success, cancellation, and failure of your transactions. Drill down for more information about a specific transaction.
Note If you don't see data in the dashboards in Splunk MINT Management Console (such as network traffic or transaction data), you won't see any data in the Splunk MINT App either.

Saved reports

The Splunk MINT App provides more than 50 saved reports you can run for even more analysis. These reports are based on single searches and can include visualizations, statistics, and/or events.

MINTAppReportsExample.png

Searches

Use the Splunk search language to create your own queries against the indexed data to view raw events.

  • Search on tags and fields that are defined in the MINT data model. For example:

tag=mint platform=Android device=HTC* | top 5 carrier

  • Search on fields that you define in the SDK, such as extra data (extraData) or transactions by name (tr_name). For example:

tag=mint status=SUCCESS | stats avg(tr_duration) by tr_name

  • Use the MINT sourcetypes:
    • "mint:event": Events.
    • "mint:error": Errors.
    • "mint:log": System output.
    • "mint:network": Network requests.
    • "mint:ping": Start of a session.
    • "mint:gnip": End of a session.
    • "mint:trstart": Start of a transaction.
    • "mint:trstop": End of a transaction.
  • All errors contain a field called errorHash, which groups different instances of the same error. You can use this errorHash to analyze different attributes that might be related.

Searches that use tags and fields defined in the MINT data model only work within the Splunk MINT App. If you want to create a search on MINT data from the main Search & Reporting app, search on index=mint.

Example search queries

To see events for slow network requests:

tag=mint sourcetype="mint:network" latency > 300

To display a timechart of occurrences of all events:

tag=mint sourcetype=mint:event | timechart count by event_name

To see a breakdown of a specific event by a particular extraData value:

tag=mint sourcetype=mint:event event_name="Purchase" | stats count by extraData.custom_key

To view the average memory consumption at the time of a crash:

tag=mint sourcetype=mint:error errorHash=dce17eec3cd21295877d6aef10439ce6 | stats avg(memAppAvailable)

To view the number of user affected by crashes in version 0.1.7.7:

sourcetype=mint:error appVersionName="0.1.7.7" | timechart dc(uuid)

To list all of your users by user ID and API key:

tag=mint userIdentifier="*" | table userIdentifier, apiKey | dedup userIdentifier

To summarize error information (platform, OS, device, and error message) for a specific user "elvis@splunk.com":

sourcetype=mint:error userIdentifier="elvis@splunk.com" | table platform, osVersion, device, message

To see the most-viewed screens:

sourcetype=mint:view | stats count by current

To see the worst-performing slowest screens:

sourcetype=mint:view | stats avg(loadTime) AS avgLoadTime by currentView | sort -avgLoadTime

To see the time spent on by screen:

sourcetype=mint:view | stats avg(elapsedTime) AS TimeSpent by previous | sort -TimeSpent

To see the most common user path:

sourcetype=mint:view | eval UserPath="From: ".current." To: ".previous | stats count by UserPath | sort -count

To see the least-viewed features:

sourcetype=mint:view | stats dc(uuid) as Users by current | sort Users

To see the slowest-performing screen over time:

sourcetype=mint:view | timechart avg(loadTime) by current

Export data

You can export your MINT data to different formats (including CSV, JSON, and XML) from your search results. For example, you can run a search or a report, and then export the number of results you want to the format you choose. For more about how to export data, see "Export search results" in the Search Manual.

Last modified on 11 August, 2016
Install and configure the Splunk MINT App   MINT user roles

This documentation applies to the following versions of Splunk MINT App (Legacy): 2.2.0, 2.2.1, 3.0.0, 3.0.1, 3.0.2


Was this topic useful?







You must be logged into splunk.com in order to post comments. Log in now.

Please try to keep this discussion focused on the content covered in this documentation topic. If you have a more general question about Splunk functionality or are experiencing a difficulty with Splunk, consider posting a question to Splunkbase Answers.

0 out of 1000 Characters